package google.entry;

import java.util.Calendar;

/**
 * Created by zhongwei on 2016/12/25.
 */
public class TestCalendar {

    public static void main(String[] args) {
        Calendar calendar = Calendar.getInstance();
        calendar.set(Calendar.YEAR, 2004);
        calendar.set(Calendar.MONTH, 0);
        calendar.set(Calendar.DAY_OF_MONTH, 4);
        for (int i = 0; i <= 650; i++) {
            System.out.print(calendar.getTime().toLocaleString().split(" ")[0] + "/");
            calendar.add(Calendar.HOUR, 6 * 24);
            System.out.println(calendar.getTime().toLocaleString().split(" ")[0]);
            calendar.add(Calendar.HOUR, 24);
        }

    }
}
